package test05;

public class Test54 {
    public static void main(String[] args) {
        MyClass myClass1=new MyClass();
        MyClass myClass2=new MyClass();
        MyClass myClass3=new MyClass();
        System.out.println(MyClass.count);
    }
}
class MyClass{
    static int count=0;
    public MyClass(){
        count++;
    }
}
